package com.yuqian;


import com.yuqian.Resposoyory.*;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2017/7/31 0031.
 */
@RestController
public class HisRest {

    org.slf4j.Logger logger= LoggerFactory.getLogger(HisRest.class);



    @GetMapping("/messagehis/{userid}")
    public String getMessageHis(@PathVariable("userid") String userId){

        logger.info("获取到的参数为"+userId);
     //   repository.findMessageHisByUserIdAndState(userId,"0");
        return "";
    }

}
